package com.itheima.es.repository;

import com.itheima.es.pojo.People;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

import java.util.List;

/**
 * @Author Administrator
 * @Date 2021/11/19:19:54
 * @Description:
 */
public interface PeopleRepository extends ElasticsearchRepository<People, Long> {


    List<People> findByNameAndAgeBetween(String ccm, int from, int end);
}
